package com.scms.secondclass.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.scms.common.annotation.Excel;
import com.scms.common.core.domain.BaseEntity;

/**
 * 教师信息对象 teacher
 * 
 * @author scms
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID */
    private Long teacherId;

    /** 用户ID */
    private Long userId;

    /** 教师工号 */
    @Excel(name = "教师工号")
    private String teacherNumber;

    /** 所属院系 */
    @Excel(name = "所属院系")
    private String department;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 用户性别 */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 角色ID */
    private Long roleId;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTeacherNumber(String teacherNumber) 
    {
        this.teacherNumber = teacherNumber;
    }

    public String getTeacherNumber() 
    {
        return teacherNumber;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getNickName() 
    {
        return nickName;
    }

    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "Teacher [teacherId=" + teacherId + ", userId=" + userId + ", teacherNumber=" + teacherNumber
                + ", department=" + department + ", title=" + title + ", userName=" + userName + ", nickName="
                + nickName + ", email=" + email + ", phonenumber=" + phonenumber + ", sex=" + sex + ", roleId="
                + roleId + "]";
    }
} 